<?php
	session_start();
	require_once '../data/Dossier.php';
	require_once '../data/Mails.php';
	
	$dossier = unserialize($_SESSION['dossier']);
	$banque = unserialize($_SESSION['banque']);
	
	$dossier->deleteDossier();
		
	Mails::sendMailModifDossier($banque, $dossier, 2 );
		
	header("Location:../main.php");

?>